<div ng-controller="departmentListController">
	 <div class="row" style="margin-top: 10px;margin-bottom: 10px">
	    <div class="col-md-3">
		    <select class="form-control" ng-model="organizationId" ng-options="o.EId as o.name for o in organization" ng-change="selectItem()">
	    		<option value="">--- 请选择组织机构 ---</option>
			</select>
	    </div>
         <div class="col-md-3">
         		<input type="text"  class="form-control" ng-model="name" placeholder="请输入部门名称"/>		
         </div>
         <div class="col-md-5">
                <button type="button" class="btn btn-info" ng-click="searchDepartment()">查询</button>
         		<button type="button" class="btn btn-info" ng-click="insertDepartment()">新增</button>
         		<button type="button" class="btn btn-info" ng-click="refreshGrid()">刷新</button>
         		<button type="button" class="btn btn-info" ng-click="deleteDepartments()">批量删除</button>
         </div>
    </div>
    <div class="row">
     	<div class="gridStyle" ng-grid="gridOptions" style="height: 540px"></div>
    </div>
</div>